package com.simplehire.repository;

import com.simplehire.model.InterviewResult;
import com.simplehire.model.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InterviewResultRepository extends JpaRepository<InterviewResult, Long> {
    List<InterviewResult> findByUserOrderByCreatedAtDesc(User user);
}